package com.stateflow.engine.user.biz.service;

import com.stateflow.facade.common.model.req.CommonRequest;
import com.stateflow.facade.common.model.res.CommonResult;

/**
 * Created by weiqingming on 2019/11/28.
 * 用户信息服务
 */
public interface UserInfoService {


    /**
     * 创建用户信息
     * @param request
     * @see com.stateflow.engine.user.biz.dto.req.CreateUserReqDTO
     *
     * @return
     */
    CommonResult createUser(CommonRequest request);


    /**
     * 用户登录
     * @param request
     * @see com.stateflow.engine.user.biz.dto.req.LoginReqDTO
     *
     * @return
     */
    CommonResult login(CommonRequest request);
}
